package ups.MapParse;

public class PositionedString {
	private Point  _location;
	private String _string;
	private Pixel _color;
	
	public PositionedString( String string, Point location, Pixel color)
	{
		this._string 	= string;
		this._location 	= location;
		this._color 	= color;
	}
	
	public String getString() {
		return this._string;
	}
	
	public void setString( String string ) {
		this._string = string;
	}

	public Point getLocation() {
		return this._location;
	}
	
	public void setLocation(Point location) {
		this._location = location;
	}
	
	public Pixel getColor() {
		return this._color;
	}
	
	public void setColor( Pixel color ) {
		this._color = color;
	}
	
	
	@Override
	public String toString() {
		return "(" + this._location.x + ", " + this._location.y + ") := " + this._string;
	}
}
